$(function() {
	$(".company_content_you_more span").on("click", selectText);
});

var number = 0;
function selectText(){
	if(number==0){
		showText();
		number =1;
	}else if(number==1){
		hideText();
		number =0;
		
	}
}

function showText(){
	$(".company_content_you p").css("-webkit-line-clamp","inherit");
	$(".company_content_you_more span").text("收起");
	var img = "<img " + "src='../../../img/pc/ofs/detail/xiajianto01.png'/>"
	$(".company_content_you_more span").append(img);
}

function hideText(){
	$(".company_content_you p").css("-webkit-line-clamp","5");
	$(".company_content_you_more span").text("查看更多");
	var img = "<img " + "src='../../../img/pc/ofs/detail/zhankai.png'/>"
	$(".company_content_you_more span").append(img);
}